package com.temp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.temp.entity.SystemSetting;

import java.util.Optional;

public interface SystemSettingService extends IService<SystemSetting> {

    // 获取带类型的设置值
    <T> Optional<T> getSettingValue(String key, Class<T> type);
}
